package com.gxa.mapper;

import com.gxa.pojo.Document;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: 张剑宇
 * Date: 2021/12/03 20:23
 * Description:
 * Version: V1.0
 */
public interface                                                                              DocumentMapper {
    List<Document> queryDocumentMapper(Integer documentary_id);
    Integer countDocumentMapper(Integer documentary_id);
    Integer addDocumentMapper(Document document);
    Integer deleteDocumentMapper(Integer document_id);
    //工单查询附件
    List<Document> queryDocumentMapperByRepair(Integer repair_id);
    //附件删除按照工单
    Integer deleteByRepair(List<Integer> repairids);
     Integer CountByRepair(Integer repair_id);

}
